/*
 * IncFile1.h
 *
 * Created: 20.09.2012 10:47:44
 *  Author: vegardvo
 */ 


#ifndef DEFINITIONS_H_
#define DEFINITIONS_H_

#define F_CPU 16000000

#define WRITE_DELAY_US_ 100
#define READ_DELAY_US_ 40

#define SET_BIT(REGISTER, BIT) ((REGISTER) |= (1<<(BIT)))
#define CLEAR_BIT(REGISTER, BIT) ((REGISTER) &= ~(1<<(BIT)))
#define READ_BIT(REGISTER, BIT) (REGISTER & (1<<BIT))	

#define TRUE 1
#define FALSE 0



#endif /* DEFINITIONS_H_ */